Release 10.1A: OpenEdge Development:
Progress Dynamics Administration
Configuring the node-batching feature
You can configure the number of nodes to batch for a dynamic TreeView using the
Note: When migrating from a Progress Dynamics version earlier than Version 2.1A, Dynamics automatically enables the node-batching feature for all dynamic TreeView objects.RowsToBatchattribute at theDynTreeclass level or on each dynamic TreeView instance. Setting theRowsToBatchattribute to0(zero) at theDynTreeclass level turns off node batching for all dynamic TreeView objects, and at the instance level turns off node batching for the given instance. This forces all nodes to be read at one time.You can configure node batching individually for each TreeView instance by changing the
RowsToBatchattribute using the Dynamic TreeView Builder tool.
![]()
To change RowsToBatch for a dynamic TreeView instance:
- Choose Build
Dynamic TreeView Builder from the AppBuilder or Development tool to open the Dynamic TreeView Builder, and choose a TreeView object using the Object filename Lookup
button, opening the object as shown:
![]()
- Choose the container properties toolbar button to open the dynamic property sheet (Dynamic Properties dialog box), as shown:
Note: If you use node batching and also have the AutoSort attribute set to YES for the TreeView object (intending to sort the nodes), you must ensure that your data source (SDO) is sorting on the same fields specified as the fields to be displayed as the node label. This is required because when you use node batching, Dynamics ignores the- Scroll to the RowsToBatch attribute and set its value as you require.
AutoSortsetting in order to ensure that ...More is always positioned as the last node in the TreeView. Otherwise, if the batched data does not come properly sorted from your data source, it will not be sorted in the TreeView. If you later turn off node batching (set RowsToBatch to 0 (zero)), the TreeView again functions according to theAutoSortsetting.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |